package com.pansoft.openplanet.bean;

import java.io.Serializable;

/**
 * 存储于本地card卡片数据库中的钱包信息
 */
public class CardWalletInfo implements Serializable {

    /**
     * 钱包地址
     */
    private String address;
    /**
     * 钱包链id
     */
    private int chainId;

    private String privateKey;
    private String walletName;
    private String walletAvatar;
    private String walletBalance = "0";
    /**
     * 钱包在卡上的位置，便于寻址
     */
    private int inCardPosition;
    /**
     * 是否显示金额
     */
    private boolean isShowNum;

    public CardWalletInfo() {
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public int getChainId() {
        return chainId;
    }

    public void setChainId(int chainId) {
        this.chainId = chainId;
    }

    public String getWalletName() {
        return walletName;
    }

    public void setWalletName(String walletName) {
        this.walletName = walletName;
    }

    public String getWalletAvatar() {
        return walletAvatar;
    }

    public void setWalletAvatar(String walletAvatar) {
        this.walletAvatar = walletAvatar;
    }

    public String getPrivateKey() {
        return privateKey;
    }

    public void setPrivateKey(String privateKey) {
        this.privateKey = privateKey;
    }

    public String getWalletBalance() {
        return walletBalance;
    }

    public void setWalletBalance(String walletBalance) {
        this.walletBalance = walletBalance;
    }

    public int getInCardPosition() {
        return inCardPosition;
    }

    public void setInCardPosition(int inCardPosition) {
        this.inCardPosition = inCardPosition;
    }

    public boolean isShowNum() {
        return isShowNum;
    }

    public void setShowNum(boolean showNum) {
        isShowNum = showNum;
    }
}
